package cqrtplm.entity;

import com.ty.basic.entity.CTyEntityBaseDO;
import com.ty.basic.util.TyOtype;
import cqrtplm.constant.RTTableTypeConstant;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;

import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigInteger;

@Data
@Slf4j
@Table(name = "dspf_module", schema = "TYPLM")
@TyOtype(
        displayName = RTTableTypeConstant.TYPE_DSPF_MODULE
)
public class ModuleDO extends CTyEntityBaseDO {
    @Id
    private BigInteger oid;

    @TyOtype(
            name = RTTableTypeConstant.TYPE_DSPF_MODULE
    )
    private String otype = RTTableTypeConstant.TYPE_DSPF_MODULE;
    private String name;
    private String moduleCode;
    private String productCode;
    private Boolean isActive = true;
    private String fullPathName;
    private String moduleType;
    private String content;
}
